<template>
  <Wrapper>
    <el-button type="primary" @click="ElMessage.success('获取到的值：' + value)">获取值</el-button>
    <editor v-model="value" />
  </Wrapper>
</template>

<script setup>
import { ElMessage } from 'element-plus'

const Editor = defineAsyncComponent(() => import('@/components/editor'))

const value = ref('')
</script>
